package com.ouc.openplatform.ouc.userLogin.service.impl;

import com.ouc.openplatform.ouc.userLogin.dao.NJ_UserLoginDAO;
import com.ouc.openplatform.ouc.userLogin.model.NJ_UserInfoDto;
import com.ouc.openplatform.ouc.userLogin.service.NJ_UserLoginService;

public class NJ_UserLoginServiceImpl implements NJ_UserLoginService{
    private NJ_UserLoginDAO  nj_userLoginDao;

	public NJ_UserLoginDAO getNj_userLoginDao() {
		return nj_userLoginDao;
	}

	public void setNj_userLoginDao(NJ_UserLoginDAO nj_userLoginDao) {
		this.nj_userLoginDao = nj_userLoginDao;
	}

	@Override
	public NJ_UserInfoDto userVerify(String loginname, String password) {
		NJ_UserInfoDto userInfo=nj_userLoginDao.userVerify(loginname, password);
		return userInfo;
	}

	@Override
	public NJ_UserInfoDto getUserInfoByUserName(String loginname) {
		return nj_userLoginDao.getUserInfoByUserName(loginname);
	}

}
